package com.youyun56.pojo;

import java.util.Date;
import java.util.Set;
 

public class Car{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8010539403074104517L;

	
	private Long id;
	
	private String carId;
	private String driver;
	private String carMobile;
	private Short carType;	
	private String carLength;
	private Float ton;
	private String driverId;
	private String usualLine;
	private String backup;
	
	private Province province;
	
	private City city;
	
	private City currentCity;
	
	
	private String position;
	
	private CarStatus carStatus;
//	@Column(name="goodStatus")
//	private GoodStatus goodStatus;
	
	private Date lastPositionTime;
	
	private Date createDay;
	
	private Date fromDay;
	
	private Date endDay;
//	@ManyToMany(mappedBy="savecars")
//	private Set<User> savers;
	private Boolean gps;
	
	private Boolean share;
	private Integer partner;
	//@Column(precision=)
	private Float x;
	private Float y;
	private String checkMarkup;
	
	private CarryStatus carryStatus;
	public Car() {
		// TODO Auto-generated constructor stub
	}
	
	public Car(Long id,String carMobile){
		this.id = id;
		this.carMobile = carMobile;
	}
	
	

	public Car(Long id) {
		// TODO Auto-generated constructor stub
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public String getCarMobile() {
		return carMobile;
	}

	public void setCarMobile(String carMobile) {
		this.carMobile = carMobile;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public CarStatus getCarStatus() {
		return carStatus;
	}

	public void setCarStatus(CarStatus carStatus) {
		this.carStatus = carStatus;
	}

	public Date getLastPositionTime() {
		return lastPositionTime;
	}

	public void setLastPositionTime(Date lastPositionTime) {
		this.lastPositionTime = lastPositionTime;
	}

	public Date getCreateDay() {
		return createDay;
	}

	public void setCreateDay(Date createDay) {
		this.createDay = createDay;
	}

	public Boolean getShare() {
		return share;
	}

	public void setShare(Boolean share) {
		this.share = share;
	}

	public Short getCarType() {
		return carType;
	}

	public void setCarType(Short carType) {
		this.carType = carType;
	}

	public String getCarLength() {
		return carLength;
	}

	public void setCarLength(String carLength) {
		this.carLength = carLength;
	}

	public Float getTon() {
		return ton;
	}

	public void setTon(Float ton) {
		this.ton = ton;
	}

	public String getDriverId() {
		return driverId;
	}

	public void setDriverId(String driverId) {
		this.driverId = driverId;
	}

	public String getUsualLine() {
		return usualLine;
	}

	public void setUsualLine(String usualLine) {
		this.usualLine = usualLine;
	}

	public Province getProvince() {
		return province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public String getBackup() {
		return backup;
	}

	public void setBackup(String backup) {
		this.backup = backup;
	}


	public Float getX() {
		return x;
	}


	public void setX(Float x) {
		this.x = x;
	}


	public Float getY() {
		return y;
	}


	public void setY(Float y) {
		this.y = y;
	}

	public City getCurrentCity() {
		return currentCity;
	}

	public void setCurrentCity(City currentCity) {
		this.currentCity = currentCity;
	}

	public Integer getPartner() {
		return partner;
	}

	public void setPartner(Integer partner) {
		this.partner = partner;
	}

	public String getCheckMarkup() {
		return checkMarkup;
	}

	public void setCheckMarkup(String checkMarkup) {
		this.checkMarkup = checkMarkup;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Boolean getGps() {
		return gps;
	}

	public void setGps(Boolean gps) {
		this.gps = gps;
	}

//	public GoodStatus getGoodStatus() {
//		return goodStatus;
//	}
//
//	public void setGoodStatus(GoodStatus goodStatus) {
//		this.goodStatus = goodStatus;
//	}
//
	public Date getFromDay() {
		return fromDay;
	}

	public void setFromDay(Date fromDay) {
		this.fromDay = fromDay;
	}

	public Date getEndDay() {
		return endDay;
	}

	public void setEndDay(Date endDay) {
		this.endDay = endDay;
	}

	public CarryStatus getCarryStatus() {
		return carryStatus;
	}

	public void setCarryStatus(CarryStatus carryStatus) {
		this.carryStatus = carryStatus;
	}

	
	

}
